#!/bin/sh
exe="libdonsee.so"
des="./lib/"
deplist=$(ldd $exe | awk '{if(match($3,"/")){printf("%s "),$3}}')
cp $deplist $des




